import request from '@/utils/processRequest';

// 获取发布人数据
export function getUserList(data) {
  return request({
    url: '/user/list',
    method: 'post',
    data
  });
}

// 发布任务
export function releaseTask(data) {
  return request({
    url: '/task/add',
    method: 'post',
    data
  });
}

// 查询发布任务列表
export function getTaskList(data) {
  return request({
    url: '/task/list',
    method: 'post',
    data
  });
}
